package com.tz.online.common;

import java.util.List;

/****
 * 市县类
 * @author yejf
 *
 */
public class City {

	private int id;
	
	private String name;
	
	private List<String> area;

	/*public List<Area> getArea() {
		return area;
	}

	public void setArea(List<Area> area) {
		this.area = area;
	}*/

	
	public int getId() {
		return id;
	}

	public List<String> getArea() {
		return area;
	}

	public void setArea(List<String> area) {
		this.area = area;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public City(int id, String name) {
		super();
		this.id = id;
		this.name = name;
	}

	
	public City() {
		super();
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("City [id=").append(id).append(", name=").append(name).append("]");
		return builder.toString();
	}
	
}
